﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Masters/List.master" AutoEventWireup="true" CodeFile="PerfEvaluateOrgPersonalTargetTypeandTargetScore.aspx.cs" 
Inherits="Modules_Personal_PerfEvaluateOrgPersonalTargetTypeandTargetScore"   Theme="Default"  Title="指标及类型得分" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register TagPrefix="web" TagName="listtitle" Src="~/Shared/UserControls/ListTitle.ascx" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="YYControls" Namespace="YYControls" TagPrefix="yyc" %>
<asp:Content ContentPlaceHolderID="idList" ID="idListContent" runat="server">
<script language="javascript" type="text/javascript">
    function selectAll()
    {
        var a = document.getElementsByTagName("input");
        var all = document.getElementById("alls");
        for (var i=0; i<a.length; i++)
        {
            if(all.checked)
            {
                if (a[i].type == "checkbox") 
                {
                    a[i].checked = true;
                }
            }
            else
            {
                if (a[i].type == "checkbox") 
                {
                    a[i].checked = false;
                }
            }
        }
    }
    function cancelAll()
    {
        var a = document.getElementsByTagName("input");
        for (var i=0; i<a.length; i++)
        {
            if (a[i].type == "checkbox") 
            {
                a[i].checked = false;
            }
        }
    }
</script>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="crumb">
        <asp:Label runat="server" ID="lblTitle" Text="个人绩效统计"></asp:Label>
    </div>
    
     <div class="search" id="search">
        <table cellpadding="2" cellspacing="0" class="rtm_shb_b">
            <tr>
                <td style="width: 50px;">
                     <asp:Label runat="server" ID="Label4" Text="季度:"></asp:Label>
                </td>
                <td style="width:125px">
                    <asp:DropDownList ID="ddlSeason" runat="server" width="200"> </asp:DropDownList>
                </td>
                <td class="rtm_shb_btn" style="white-space: nowrap">
                    <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click"></asp:Button>&nbsp;
                    <asp:Button ID="ResetLinkButton" runat="server" Text="重置" OnClientClick="reset();return false;">
                    </asp:Button>
                </td>
            </tr>
        </table>
    </div>
   <div class="toolbar" id="toolbar">
        <span style="font-weight:bold;height:30px;"><h2>
            <web:listtitle ID="Listtitle1" runat="server" Title="人员季度绩效列表" />
        </h2></span>
        <asp:LinkButton ID="btnBack" runat="server" OnClick="LBtnBack_Click">
            <asp:Label ID="Label1" runat="server" Text="">
                <img runat="server" id="img2" src="../../Images/icon_tool_042.gif" style="border: 0px" />返回</asp:Label>
        </asp:LinkButton>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <contenttemplate>
    <yyc:SmartGridView ID="gvPersonalList" runat="server" AutoGenerateColumns="False" AllowSorting="True" OnSorting="gvPersonalList_Sorting" OnRowCommand="gvPersonalList_RowCommand" OnRowDataBound="gvPersonalList_RowDataBound"  OnPreRender="gvPersonalList_PreRender"
        EmptyDataText="没有找到数据!" >
        <FixRowColumn FixRowType="Header,Pager" FixColumns="0,1"></FixRowColumn>

        <Columns>
             <asp:BoundField DataField="指标类型" HeaderText="指标类型" SortExpression="指标类型" />
            <asp:BoundField DataField="指标类型得分" HeaderText="指标类型得分" SortExpression="指标类型得分" />
            <asp:BoundField DataField="指标名字" HeaderText="指标名字" SortExpression="指标名字" />
            <asp:BoundField DataField="指标得分" HeaderText="指标得分" SortExpression="指标得分" />
        </Columns>
        <FixRowColumn FixRowType="Header,Pager" FixColumns="" />
    </yyc:SmartGridView>
    <webdiyer:AspNetPager ID="AspNetPager" CssClass="aspNetPager" ShowBoxThreshold="1" OnPageChanged="AspNetPager_PageChanged"
        runat="server" HorizontalAlign="Right" PageSize="20" AlwaysShow="True" FirstPageText="首页"
        LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" Width="98%" CustomInfoClass="aspNetPager"
        LayoutType="Div" PageIndexBoxType="TextBox" ShowPageIndexBox="Auto">
    </webdiyer:AspNetPager>
     </contenttemplate>
    </asp:UpdatePanel>

</asp:Content>
